typo

Andrew Cantino 10 years ago
parent
commit
4cb2b86f9c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spec/models/event_spec.rb

+ 1 - 1
spec/models/event_spec.rb

@@ -13,7 +13,7 @@ describe Event do
13 13
       Event.last.agent.should == events(:bob_website_agent_event).agent
14 14
       Event.last.lat.should == 2
15 15
       Event.last.lng.should == 3
16
-      Event.last.created_at.to_.should be_within(2).of(Time.now.to_i)
16
+      Event.last.created_at.to_i.should be_within(2).of(Time.now.to_i)
17 17
     end
18 18
   end
19 19